﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Stone.ServiceInterfaces.ServiceInterfaces;
using CourseArraging.DAO;

namespace Stone.ServiceImpl.ServiceImpl
{
    class Zap2Service : IZap2Service
    {
        Zap2DAO zap2dao = new Zap2DAO();
        #region IZap2Service 成员

        public void Add(DataContracts.Zap2Entity model)
        {
            zap2dao.Add(model);
        }

        public void Delete(int id)
        {
            zap2dao.Delete(id);
        }

        public void Update2Busy(int id, string column)
        {
            zap2dao.Update2Busy(id,column);
        }

        public void Update2Idle(int id, string column)
        {
            zap2dao.Update2Idle(id,column);
        }

        #endregion
    }
}
